package com.bxm.springboot.test.command;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value=2)
public class MyStartupRunnerTest2 implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception
    {
          System.out.println("===MyStartupRunnerTest2执行，它的@Order注解value值为2===");
    }

}
